package com.fannnnn.system.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 菜单表
 * </p>
 *
 * @author shensifan
 * @since 2022-01-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_menu")
@ApiModel(value="Menu对象", description="菜单表")
public class Menu implements Serializable {

        private static final long serialVersionUID = 1L;

        @TableId(value = "id", type = IdType.AUTO)
        private Long id;

        @ApiModelProperty(value = "菜单名")
        private String menuName;

        @ApiModelProperty(value = "路由地址")
        private String path;

        @ApiModelProperty(value = "组件路径")
        private String component;

        @ApiModelProperty(value = "菜单状态（0显示 1隐藏）")
        private String visible;

        @ApiModelProperty(value = "菜单状态（0正常 1停用）")
        private String status;

        @ApiModelProperty(value = "权限标识")
        private String perms;

        @ApiModelProperty(value = "菜单图标")
        private String icon;

        private Long createBy;

        private Date createTime;

        private Long updateBy;

        private Date updateTime;

        @ApiModelProperty(value = "是否删除（0未删除 1已删除）")
        private Integer delFlag;

        @ApiModelProperty(value = "备注")
        private String remark;


}
